﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <!--<script src="http://code.jquery.com/jquery-latest.js" type="text/javascript"></script>
    <script src="http://www.jongma.org/webtools/jquery/jquery.xslt.js" type="text/javascript"></script>-->
    <script src="lib/jquery-latest.js" type="text/javascript"></script>
    <script src="lib/jquery.xslt.js" type="text/javascript"></script>
    <script src="lib/jquery.tmpl.js" type="text/javascript" charset="utf-8"></script>
    <!--<script src="lib/jquery.link.js" type="text/javascript" charset="utf-8"></script>-->
    <script src="lib/spine.js" type="text/javascript"></script>
    <script src="lib/spine.model.ajax.js" type="text/javascript"></script>
    <script src="lib/spine.model.local.js" type="text/javascript"></script>
    <script src="spine.model.ajax2.js" type="text/javascript"></script>
    <script src="app/cofe.js" type="text/javascript"></script>
    <script src="app/models/cofe.models.js" type="text/javascript"></script>
    <script src="app/models/cofe.models.entry.js" type="text/javascript"></script>
    <script src="app/models/cofe.models.file.js" type="text/javascript"></script>
    <script src="app/models/cofe.models.folder.js" type="text/javascript"></script>
    <script src="app/models/cofe.models.entryList.js" type="text/javascript"></script>
    <script src="app/controllers/cofe.controllers.contentList.js" type="text/javascript"></script>
    <script src="app/application.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">

        //var contentList = ContentList.init({ el: $("#contents") }); //Set root element (id = contents).
        
    </script>
    <script type="text/x-jquery-tmpl" id="contentListTemplate">
      Folders
      <ul>
      {{each folders}}
        <li>
            ${path}
        </li>
       {{/each}}
       </ul>
      Files:
      <ul>
      {{each files}}
        <li>
            ${path}
        </li>
       {{/each}}
       </ul>
    </script>
    <title></title>
</head>
<body>
    <div id="contentList">
        Content List
        <div class="request">
            <input class="path" type="text" />
            <input class="search" type="button" value="Search" />
            <input class="refresh" type="button" value="Refresh" />            
        </div>
        <div class="result">
            <div class="workIndicator">Searching...</div>

            <div class="content">
            </div>
        </div>
    </div>
</body>
</html>
